$fontSize_14: 0.8vw;
$fontSize_16: 0.9vw;
$fontSize_18: 1vw;
$fontSize_22: 1.1vw;
$fontSize_24: 1.26vw;
$fontSize_28: 1.3vw;
$fontSize_32: 1.4vw;
$fontSize_36: 1.8vw;
$fontSize_40: 2.1vw;
$fontSize_48: 2.5vw;
$fontSize_50: 2.6vw;
$fontSize_54: 2.7vw;
$fontSize_64: 3.2vw;
$fontSize_70: 3.5vw;
$fontSize_90: 4.5vw;
$fontSize_100: 5vw;
$fontSize_200: 10vw;
$f: 19.2;
.home {
  position: relative;
  width: 100%;
  .banner {
    position: relative;
    overflow: hidden;

    .bg {
      img {
        width: 100%;
        display: block;
        object-fit: cover;
      }
    }

    .text {
      position: absolute;
      left: 0;
      bottom: 0;
      width: 84vw;
      background: rgba(255, 255, 255, 0.25);
      backdrop-filter: blur(5px);
      padding: 3vw 8vw;
      border-top: 1px solid #FFF;

      .p1 {
        color: #FFF;
        font-size: $fontSize_54;
        font-weight: 700;
        font-family: 'Montserrat-Regular.otf';
        text-transform: capitalize;
      }

      .des {
        color: #FFF;
        font-size: $fontSize_18;
        font-weight: 350;
        width: 45vw;
        margin-top: 1vw;
      }
    }
  }
  .section1{
    padding: 147/$f+vw 0 165/$f+vw 0 ;
    overflow: hidden;
    *{
      box-sizing: border-box;
    }
    .wrap{
      .title{
        left: 8vw;
        color: #000;
        font-size: 70/$f+vw;
        margin: 0 0 48/$f+vw;
        position: relative;
      }
      .content{
        display: flex;
        .item{
          width: 482/$f+vw;
          padding: 44/$f+vw;
          border-top: 1px solid #DBDCDC;
          border-right: 1px solid #DBDCDC;
          &:last-child{
            border-right: none;
          }
          .img{
            width: 100%;
            height: 240/$f+vw;
            overflow: hidden;
            img{
              width: 100%;
              height: 100%;
              transition: .6s;
              &:hover{
                transform: scale(1.05);
              }
            }
          }
          .text{
            h1{
              color: #000;
              font-size: 24/$f+vw;
              font-weight: 400;
              margin: 30/$f+vw 0;
            }
            p{
              width: 372/$f+vw;
              color: #313131;
              font-size: 16/$f+vw;
              font-weight: 400;
            }
          }
        }
      }
    }
  }

  .section2{
    background: #FAFBFF;
    padding: 119/$f+vw 0 0 0;
    overflow: hidden;
    .wrap{
      width: 1552/$f+vw;
      margin: auto;
      .title{
        display: flex;
        align-items: center;
        justify-content: space-between;
        h1{
          color: #000;
          font-size: 48/$f+vw;
          font-weight: 700;
        }
        .button{
          display: flex;
          .circle{
            width: 46/$f+vw;
            height: 46/$f+vw;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 1px solid #BBBBBB;
            cursor: pointer;
            transition: .6s;
            &:first-child{
              transform: rotate(180deg);
              margin: 0 10/$f+vw 0 0;
            }
            svg{
              width: 20/$f+vw;
              height: 20/$f+vw;
              path{
                fill: #BBBBBB;
                transition: .6s;
              }
            }
            &:hover{
              border: 1px solid #1B2170;
              path{
                fill: #1B2170;
              }
            }
          }
        }
      }
      .content{
        position: relative;
        margin: 50/$f+vw 0 0 0;
        .num_swiper{
          width: 320/$f+vw;
          height: 150/$f+vw;
          position: absolute;
          bottom: 40/$f+vw;
          left: 0;
          overflow: unset;
          .swiper-slide{
            color: #1B2170;
            font-size: 140/$f+vw;
            font-weight: 700;
            opacity: 0!important;
            transition: .3s ease;
            font-family: Montserrat2;
            &.swiper-slide-active{
              opacity: 1!important;
            }
          }
        }
        .aboutSwiper{
          width: 110%;
          overflow: unset;
          position: relative;
          left: 280/$f+vw;
          .swiper-slide{
            display: flex;
            //left: -37vw;
            cursor: pointer;
            .img{
              width: 516/$f+vw;
              height: 603/$f+vw;
              pointer-events: none;
              position: absolute;
              left: 630/$f+vw;
              top: 90/$f+vw;
              opacity: 0;
              img{
                width: 100%;
                height: 100%;
              }
            }
            .l{
              margin: 0 32/$f+vw 0 0;
              pointer-events: none;
              .circle{
                width: 14/$f+vw;
                height: 14/$f+vw;
                border-radius: 50%;
                border: 1px solid #1B2170;
                margin: auto;
                transition: .1s;
              }
              .line{
                width: 1px;
                height: 581/$f+vw;
                //background: #1B2170;
                background: rgba(27, 33, 112, 0.10);
                margin: auto;
                transition: .3s;
              }
            }
            .r{
              position: relative;
              top: -4/$f+vw;
              transition: .3s;
              .year{
                color: #000;
                font-family: Montserrat2;
                font-size: 20/$f+vw;
                font-weight: 700;
                margin: 0 0 62/$f+vw;
              }
              .other{
                opacity: 0;
                pointer-events: none;

                transition: .6s;
                h1{
                  color: #1B2170;
                  font-size: 32/$f+vw;
                  font-weight: 500;
                  line-height: 36/$f+vw; /* 112.5% */
                  margin: 0 0 12/$f+vw;
                }
                p{
                  width: 531/$f+vw;
                  color: #666;
                  font-size: 18/$f+vw;
                  font-style: normal;
                  font-weight: 400;
                  line-height: 30/$f+vw; /* 166.667% */
                }
              }
            }
            &.swiper-slide-active{
              .img{
                opacity: 1;
                transition: 1s;
                transition-delay: .3s;
              }
              .l{
                .circle{
                  width: 20/$f+vw;
                  height: 20/$f+vw;
                  background: #1B2170;
                }
                .line{
                  background: #1B2170;
                }
              }
              .r{
                top: 0;
              }
              .other{
                opacity: 1;
              }
            }
          }
        }
      }
    }
  }

  .section3{
    padding: 164/$f+vw 0 116/$f+vw 0;
    overflow: hidden;
    .wrap{
      position: relative;
      left: 127/$f+vw;
      display: flex;
      .title{
        width: 528/$f+vw;
        h1{
          color: #151313;
          font-size: 48/$f+vw;
          font-weight: 700;
          text-transform: capitalize;
          margin: 0 0 40/$f+vw;
        }
        .text{
          color: #383838;
          font-size: 16/$f+vw;
          font-weight: 400;
          line-height: 28/$f+vw; /* 175% */
        }
      }
      .content{
        width: 1253/$f+vw;
        .img{
          width: 100%;
          img{
            width: 100%;
          }
        }
        .figure{
          width: fit-content;
          display: grid;
          grid-template-columns: repeat(3,1fr);
          gap: 0 300/$f+vw;
          margin: 0 0 0 150/$f+vw;
          padding: 10px 0 0 0;
          position: relative;
          &:after{
            content: '';
            position: absolute;
            width: 200%;
            height: 1px;
            background: rgba(175, 175, 175, 0.20);
            top: 0;
            left: 0;
          }
          &:nth-child(2) {
            margin: 78/$f+vw 0 0 150/$f+vw;
          }
          .item{
            p{
              color: rgba(0, 0, 0, 0.43);
              font-size: 16/$f+vw;
              font-weight: 400;
              margin: 0 0 22/$f+vw;
            }
            span{
              color: #1B2170;
              font-family: Sintony;
              font-size: 52/$f+vw;
              font-weight: 400;
              text-transform: capitalize;
              position: relative;
              &:after{
                content: attr(data-text);
                display: inline-block;
              }
            }
          }
        }
      }
    }
  }

  .section4{
    padding: 140/$f+vw 0 50/$f+vw 0;
    background: #000;
    position: relative;
    overflow: hidden;
    .circle1{
      position: absolute;
      top: -200/$f+vw;
      left: -200/$f+vw;
      width: 590.902/$f+vw;
      height: 590.902/$f+vw;
      transform: rotate(-135deg);
      flex-shrink: 0;
      border-radius: 590.902/$f+vw;
      background: linear-gradient(180deg, rgba(181, 210, 255, 0.64) 0%, rgba(70, 122, 255, 0.21) 45%, rgba(9, 65, 118, 0.00) 76.82%, rgba(0, 19, 37, 0.00) 100%);
      mix-blend-mode: hard-light;
    }
    .circle2{
      width: 599/$f+vw;
      height: 599/$f+vw;
      transform: rotate(-30.047deg);
      flex-shrink: 0;
      border-radius: 599/$f+vw;
      background: linear-gradient(180deg, rgba(181, 210, 255, 0.64) 0%, rgba(70, 122, 255, 0.21) 45%, rgba(9, 65, 118, 0.00) 76.82%, rgba(0, 19, 37, 0.00) 100%);
      mix-blend-mode: hard-light;
      position: absolute;
      top: 100/$f+vw;
      right: 70/$f+vw;

    }
    .wrap{
      width: 1075/$f+vw;
      margin: auto;
      .grid{
        display: grid;
        grid-template-columns: repeat(3,1fr);
        gap: 42/$f+vw 225/$f+vw;
        margin: 0 0 130/$f+vw;
        .item{
          position: relative;
          z-index: 5;
          .img{
            width: 85/$f+vw;
            height: 85/$f+vw;
            margin: 0 0 15/$f+vw;
            img{
              object-fit: contain;
              max-width: 100%;
              max-height: 100%;
            }
          }
          p{
            color: #FFF;
            font-size: 24/$f+vw;
            font-weight: 400;
          }
        }
      }
      .text{
        text-align: center;
        h1{
          color: #FFF;
          font-size: 48/$f+vw;
          font-weight: 700;
          margin: 0 0 20/$f+vw;
        }
        p{
          width: 894/$f+vw;
          margin: auto;
          color: #FFF;
          text-align: center;
          font-size: 20/$f+vw;
          font-weight: 300;
          line-height: 30/$f+vw; /* 150% */
        }
      }
    }
  }

  .section5{
    padding: 17/$f+vw 0;
    overflow: hidden;

    .animate{
      display: flex;
      width: max-content;
      animation: 30s go linear infinite;
      .flex{
        display: flex;
        width: max-content;
        .item{
          width: 209/$f+vw;
          height: 237/$f+vw;
          border-radius: 22/$f+vw;
          background: #000;
          display: flex;
          justify-content: center;
          align-items: flex-end;
          margin: 0 34/$f+vw 0 0;
          img{
            width: 161/$f+vw;
          }
        }
      }
    }
  }

  .section6{
    padding: 110/$f+vw 0 120/$f+vw 0;
    overflow: hidden;
    .wrap{
      .w{
        width: 1384/$f+vw;
        margin: auto;
      }
      .title{
        margin: 0 0 49/$f+vw;
        h1{
          color: #151313;
          font-size: 48/$f+vw;
          font-weight: 700;
          text-transform: capitalize;
          margin: 0 0 20/$f+vw;
        }
        p{
          width: 705/$f+vw;
          color: #121212;
          font-size: 18/$f+vw;
          font-weight: 400;
        }
      }
      .num{
        display: flex;
        .item{
          text-align: center;
          &:not(:last-child) {
            margin: 0 278/$f+vw 0 0;
          }
          span{
            font-size: 52/$f+vw;
            font-weight: 400;
            line-height: normal;
            text-transform: capitalize;
            position: relative;
            margin: 0 0 12/$f+vw;
            display: block;
            color: #1B2170;
            &:after{
              content: attr(data-text);
              display: inline-block;
            }
          }
          p{
            color: #383838;
            font-size: 16/$f+vw;
            font-weight: 400;
          }
        }
      }
      .content{
        margin: 84/$f+vw 0 0 0;
        @keyframes img_go {
          100% {
            transform: translateX(-50%);
          }
        }
        @keyframes img_go2 {
          0% {
            transform: translateX(-50%);
          }

          100% {
            transform: translateX(0);
          }
        }
        .matter{
          width: max-content;
          display: flex;
          animation: img_go 30s infinite linear;
          &:nth-child(2) {
            animation: img_go2 30s infinite linear;
            margin: 30/$f+vw 0 0 0;
          }
          .flex{
            display: flex;
            .item{
              width: 273/$f+vw;
              height: 164/$f+vw;
              border-radius: 22/$f+vw;
              background: #F0F1F1;
              display: flex;
              align-items: center;
              justify-content: center;
              margin: 0 30/$f+vw 0 0;
              img{
                max-width: 100%;
                max-height: 100%;
              }
            }

          }
        }
      }
    }
  }
  @media screen and (max-width: 1024px) {
    padding-top: 60px;
    .banner{
      .bg{
        img{
          height: 300px;
        }
      }
      .text{
        width: 90%;
        padding: 15px 5%;
        .p1{
          font-size: 18px;
        }
        .des{
          width: 100%;
          font-size: 14px;
          margin-top: 10px;
        }
      }
    }

    .section1{
      .wrap{
        .title{
          margin: 0 0 20px;
          font-size: 24px;
          left: 5%;
        }
        .content{
          flex-direction: column;
          padding: 0 5%;
          .item{
            width: 100%;
            border: none !important;
            padding: 0;
            &:not(:last-child) {
              margin: 0 0 35px;
            }
            .img{
              height: auto;
            }
            .text{
              margin: 15px 0 0 0;
              h1{
                font-size: 20px;
              }
              p{
                width: 100%;

                font-size: 14px;
                line-height: 2;
              }
            }
          }
        }
      }
    }

    .section2{
      padding: 40px 0 100px 0;
      .wrap{
        width: 90%;
        .title{
          h1{
            font-size: 24px;
          }
          .button{
            .circle{
              width: 37px;
              height: 37px;
              &:first-child {
                margin: 0 15px 0 0;
              }
              svg{
                width: 15px;
                height: 15px;
              }
            }
          }
        }
        .content{
          margin: 20px 0 0 0;
          .num_swiper{
            display: none;
          }
          .aboutSwiper{
            left: 0;
            .swiper-slide{
              .img{
                width: 100%;
                left: 15vw;
                top: unset;
                bottom: -100px;
                z-index: -1;
              }
              .l{
                margin: 0 10px 0 0;
                display: flex;
                flex-direction: column;
                .circle{
                  width: 12px;
                  height: 12px;
                }
                .line{
                  flex: 1;
                  height: auto;
                  opacity: 0;
                }
              }
              .r{
                .year{
                  font-size: 16px;
                  margin: 0 0 30px;
                }
                .other{
                  position: relative;
                  left: -30px;
                  h1{
                    font-size: 24px;
                    line-height: 1.5;
                    margin: 0 0 20px;
                    white-space: nowrap;
                  }
                  p{
                    font-size: 14px;
                    line-height: 2;
                    width: 80vw;
                  }
                }
              }
              &.swiper-slide-active{
                .l{
                  .circle{
                    width: 15px;
                    height: 15px;
                  }
                }
              }
            }
          }
        }
      }
    }

    .section3{
      padding: 30px 0;
      .wrap{
        flex-direction: column;
        width: 90%;
        .title{
          width: 100%;
          h1{
            font-size: 24px;
            margin: 0 0 20px;
          }

        .text{
            width: 100%;
            font-size: 14px;
            line-height: 2;
          }
        }
        .content{
          width: 100%;
          .img{
            margin: 0 0 25px;
          }
          .figure{
            width: 100%;
            margin: 0 0 25px!important;
            padding: 15px 0 0 0;
            gap: 50px;
            .item{
              span{
                font-size: 25px;
              }
              p{
                font-size: 14px;
              }
            }
          }
        }
      }
    }

    .section4{
      padding: 100px 0 80px 0;
      .wrap{
        width: 90%;
        .grid{
          gap: 30px 30px;
          margin: 0 0 50px;
          .item{
            .img{
              width: 40px;
              height: 40px;
              margin: 0 0 20px;
            }
            p{
              font-size: 12px;
            }
          }
        }
        .text{
          h1{
            font-size: 18px;
            margin: 0 0 16px;
          }
          p{
            font-size: 14px;
            line-height: 2;
            width: 100%;
          }
        }
      }
    }

    .section5{
      padding: 15px 0;
      .animate {
        .flex {
          .item{
            width: 140px;
            height: 160px;
            border-radius: 10px;
            margin: 0 20px 0 0;
            img{
              width: 75%;
            }
          }
        }
      }
    }

    .section6{
      padding: 15px 0 50px;
      .wrap{
        .w{
          width: 90%;
        }
        .title{
          margin: 0 0 20px;
          h1{
            font-size: 24px;
            margin: 0 0 16px;
          }
          p{
            width: 100%;
            font-size: 14px;
            line-height: 2;
          }
        }
        .num{
          display: grid;
          grid-template-columns: repeat(4,1fr);
          gap: 20px;
          .item{
            margin: 0!important;
            span{
              font-size: 22px;
            }
            p{
              font-size: 12px;
            }
          }
        }
        .content{
          margin: 40px 0 0 0;
          .matter {
            &:nth-child(2) {
              margin: 20px 0 0 0;
            }
            .flex {
              .item{
                width: 150px;
                height: 90px;
                margin: 0 20px 0 0;
                img{
                  max-width: 70%;
                  max-height: 70%;
                }
              }
            }
          }
        }
      }
    }
  }
}


@keyframes go {
  100%{
    transform: translateX(-50%);
  }
}